package Segregate;

import org.example.Segregate.Validator;
import org.junit.Test;

public class test_segregate {

    @Test
    public void test_Validator() {
        Validator validator = new Validator(str -> str.matches("[a-z]+"));
        boolean adsdsSD = validator.validate("adsdsSD");
        System.out.println(adsdsSD);
    }
}
